<script setup lang="ts">
import axios from 'axios'

const res = await axios.get('https://api.uomg.com/api/rand.qinghua')
console.log('直接异步res2:', res)
</script>

<template>
  <div>
    <h2>组件2</h2>
  </div>
</template>

<style scoped>

</style>
